package com.shanzmoo.db.module.product.domain.dto;


import com.shanzmoo.db.common.entity.BaseConvertEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
@ApiModel(value="spu保存对象")
public class SpuSaveDto extends BaseConvertEntity {

    @ApiModelProperty("spu编码")
    private String spu;

    @ApiModelProperty("商品分类")
    private Integer categoryId;

    @ApiModelProperty("商品名称")
    private String name;

    @ApiModelProperty("分类id组")
    private String categoryIds;

    @ApiModelProperty("是否同步商家")
    private Boolean synMerchant;

    @ApiModelProperty("品牌id")
    private Integer brandId;

    @ApiModelProperty("单位id")
    private Integer unitId;

    @ApiModelProperty("是否上下架")
    private Boolean shelves;

    @ApiModelProperty("发布平台")
    private Integer channel;

    @ApiModelProperty("选中规格选项集合json")
    private String checkAttr;

    @ApiModelProperty("销量")
    private Integer sellNum;

    @ApiModelProperty("服务说明")
    private String serviceDescription;

    @ApiModelProperty("是否包邮:false:不包邮,true:包邮")
    private Boolean notPostage;

    @ApiModelProperty("邮费")
    private BigDecimal freightPrice;

    @ApiModelProperty("减库存方式")
    private Integer subStoreType;

    @ApiModelProperty("商品描述")
    private String productDesc;




}
